package com.tenglong.teacher.data.resultInfo;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * 教师基本信息类
 */
public class ClientUserInfo extends BaseModel {

    private String id;
    private String userName;   //用户名
    private String password;   //密码
    private String phone;      //电话号码
    private String address;
    private String token;
    private String slogan;//老师的slogan
    private List<String> projects;//所教的科目array
    private String imUserName;  //IM服务器accid
    private String imUserPassword; //IM服务器token
    private String photoUrl;    //头像
    private int sex;//性别
    private String sign;//签名
    private List<String> urls;
    private String url="";
    public boolean isDetaiInfo = false;//是否准确



    public boolean isSelectOrganizationTitle = false;//是否是选择机构提示语
    public String selectOrganizationTitle;//选择机构提示语
    public String companyPhotoUrl;//机构头像
    public String companyName;//机构名称
    public String companyId;//机构id

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyPhotoUrl() {
        return companyPhotoUrl;
    }

    public void setCompanyPhotoUrl(String companyPhotoUrl) {
        this.companyPhotoUrl = companyPhotoUrl;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public boolean isDetaiInfo() {
        return isDetaiInfo;
    }

    public void setDetaiInfo(boolean detaiInfo) {
        isDetaiInfo = detaiInfo;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<String> getUrls() {
        return urls==null?new ArrayList<String>():urls;
    }

    public void setUrl(List<String> urls) {
        this.urls = urls;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImUserName() {
        return imUserName;
    }

    public void setImUserName(String accid) {
        this.imUserName = accid;
    }

    public String getImUserPassword() {
        return imUserPassword;
    }

    public void setImUserPassword(String stoken) {
        this.imUserPassword = stoken;
    }
    public String getToken() {
        return token;
    }

    public void setToken(String tokens) {
        this.token = tokens;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogans) {
        this.slogan = slogans;
    }


    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }
    @Override
    public String toString() {


       String str= "id="+getId()+" enable="+getEnable()+" remark="+getRemark()+" createBy="+getCreateBy()+" updateBy="
                +getUpdateBy()+" updateTime="+getUpdateTime()+" keyword="+getKeyword()+" username="+userName
                +" password="+password+" phone="+phone+" address="+address+
                "photoUrl="+photoUrl+" imUserName="+imUserName+" imUserPassword="+imUserPassword+" token="+token+" slogan="+slogan;
       return str;

    }
}